package com.yff.auth;

import com.yff.system.api.factory.RemoteUserFallbackFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.yff.common.security.annotation.EnableRyFeignClients;

/**
 * 认证授权中心
 * 
 * @author yff
 */
@EnableRyFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class YffAuthApplication
{
    private static final Logger log = LoggerFactory.getLogger(YffAuthApplication.class);

    public static void main(String[] args)
    {
        SpringApplication.run(YffAuthApplication.class, args);
        log.info("YffAuthApplication start success=====");
    }
}
